package com.lmf.cloud;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient //开启nacos服务注册功能
@MapperScan(basePackages = {"com.lmf.cloud.mapper"})
@SpringBootApplication(scanBasePackages = {"com.lmf.cloud"})
public class ProviderMain {
    public static void main(String[] args) {
        SpringApplication.run(ProviderMain.class, args);
    }
}
